package com.hsmpay.mobile.pojo.terminal;

import com.hsmpay.common.pojo.BasePojo;

import java.util.Date;

/**
 * 终端通道 商户号
 */
public class TchannelM extends BasePojo {
    private static final long serialVersionUID = 1L;
    //基本属性
    private Long id;//代码
    private Integer code;//代码
    private Integer clientType;//1网站 2手机 5 大poss
    private String mcode;//商户号
    private String tcode;//终端号
    private String otherParam;
    private Long roleId;//终端角色Id 2 费率版 3 封顶版
    private Integer status;//1 正在使用 2 未使用

    private Double feeRate;//手续费费率
    private Double fdMaxFee;//封顶最大手续费
    private Double fdMinFee;//封顶最小手续费
    private Double singleLimit;//单笔限额
    private Double totalLimit;//总限额

    private String mainKey;//主密钥
    private Date useTime;//使用时间
    private Double useTotal;//使用金额

    private String orderByFild;//排序字段  默认 id 升序
    private Double addUseTotal;//添加使用金额
    private Long userId;//用户id

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public Integer getClientType() {
        return clientType;
    }

    public void setClientType(Integer clientType) {
        this.clientType = clientType;
    }

    public String getMcode() {
        return mcode;
    }

    public void setMcode(String mcode) {
        this.mcode = mcode;
    }

    public String getTcode() {
        return tcode;
    }

    public void setTcode(String tcode) {
        this.tcode = tcode;
    }

    public String getOtherParam() {
        return otherParam;
    }

    public void setOtherParam(String otherParam) {
        this.otherParam = otherParam;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Double getFeeRate() {
        return feeRate;
    }

    public void setFeeRate(Double feeRate) {
        this.feeRate = feeRate;
    }

    public Double getFdMaxFee() {
        return fdMaxFee;
    }

    public void setFdMaxFee(Double fdMaxFee) {
        this.fdMaxFee = fdMaxFee;
    }

    public Double getFdMinFee() {
        return fdMinFee;
    }

    public void setFdMinFee(Double fdMinFee) {
        this.fdMinFee = fdMinFee;
    }

    public Double getSingleLimit() {
        return singleLimit;
    }

    public void setSingleLimit(Double singleLimit) {
        this.singleLimit = singleLimit;
    }

    public Double getTotalLimit() {
        return totalLimit;
    }

    public void setTotalLimit(Double totalLimit) {
        this.totalLimit = totalLimit;
    }

    public String getMainKey() {
        return mainKey;
    }

    public void setMainKey(String mainKey) {
        this.mainKey = mainKey;
    }

    public Date getUseTime() {
        return useTime;
    }

    public void setUseTime(Date useTime) {
        this.useTime = useTime;
    }

    public Double getUseTotal() {
        return useTotal;
    }

    public void setUseTotal(Double useTotal) {
        this.useTotal = useTotal;
    }

    public String getOrderByFild() {
        return orderByFild;
    }

    public void setOrderByFild(String orderByFild) {
        this.orderByFild = orderByFild;
    }

    public Double getAddUseTotal() {
        return addUseTotal;
    }

    public void setAddUseTotal(Double addUseTotal) {
        this.addUseTotal = addUseTotal;
    }
}
